package com.vodone.v1pin.index.delegate
{
	
	import com.vodone.v1pin.ServiceProvider;
	import com.vodone.v1pin.core.service.HttpJsonDelegate;
	
	import mx.rpc.http.mxml.HTTPService;
	
	[Bindable]
	public class PicDelegate
	{
		  
		public static function getBigPicList( resultHandler:Function , types:String , id:String , num:int, faultHandler:Function = null , context:Array = null ):void
		{
			var service:HTTPService = ServiceProvider.getInstance().getPicListService;
			var params:Object = {
				type : types,
				columnid : id,
				num : num
			}
			
			var delegate:HttpJsonDelegate = new HttpJsonDelegate( service );
			delegate.send( params , resultHandler , faultHandler , context );
		}
	}
}